#!/bin/bash
#这个是开发的时候使用到的，鉴于全程是我一个人开发，所以非常适合同时开着后端和前端，边写边测，所以写了一个shell，方便调试。
echo "         _                       _ "
echo "   ___  | |   ___    _   _    __| |"
echo "  / __| | |  / _ \  | | | |  / _  |"
echo " | (__  | | | (_) | | |_| | | (_| |"
echo "  \___| |_|  \___/   \__,_|  \__,_|"
echo "                                   "

docker start postgreYoga
# docker start redisYoga
sleep 1
echo "start"
cd ~/workspace/yoga/apiYoga
pwd
ls -l
rm ./output/*
echo "删除输出文件内容"
cd ./src
pwd
go run main.go
